package com.mingdao.lhy.mapper.wish;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.mingdao.lhy.pojo.ThreeYearPlan;

@Mapper
@Repository(value = "threeYearPlanMapper")
public interface ThreeYearPlanMapper {

	List<ThreeYearPlan> list();

	ThreeYearPlan getOne(String xxdm);

	int deleteByPrimaryKey(Long xxdm);

	int insert(ThreeYearPlan record);

	int insertSelective(ThreeYearPlan record);

	ThreeYearPlan selectByPrimaryKey(Long xxdm);

	int updateByPrimaryKeySelective(ThreeYearPlan record);

	int updateByPrimaryKey(ThreeYearPlan record);

	List<ThreeYearPlan> getBlockThree();

	/**
	 * 根据学校ID获取所对应专业列表
	 * 
	 * @param schoolId
	 * @return
	 */
	List<ThreeYearPlan> getMajorBySchool(String schoolId);

}